{include="header"}
{include="navigator"}

<form action = '{$action}' method = 'post' enctype='multipart/form-data' class = 'form' id = "form">
	<ul>
	{loop="row"}
		{if="$value.type == 'hidden'"}
			{$value.form}
		{else}
		<li class = 'node'>
				<div class = 'flag'>{$value.flag}</div><label for='{$value.key}' class = 'label'>{$value.title} : </label> 
			{$value.form}
			<span class = 'desc'>{$value.desc}</span>
		</li>
		{/if}
		{$value.hidden}
		{$value.js}
	{/loop}
		<li>
			<input type = 'submit' value = 'Submit' class = 'submit'>
		</li>
	</ul>
</form>

<script language = "javascript">
	$(document).ready(function() {
		$("form").validationEngine();
	});
</script>

{include="footer"}